home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 May / CHIPCD200305.iso / game / juji.swf / scripts / frame_7 / PlaceObject2_63_3 / CLIPACTIONRECORD onClipEvent(enterFrame).as
Text File  |  2003-03-01  |  366b  |  20 lines

  1. onClipEvent(enterFrame){
  2.    if(_root.helibigMC.rotor eq 0 and _root.helibigMC.window eq 0)
  3.    {
  4.       tellTarget(_root)
  5.       {
  6.          stopAllSounds();
  7.          gotoAndStop("crash");
  8.          play();
  9.       }
  10.    }
  11.    if(_root.life eq 0)
  12.    {
  13.       stopAllSounds();
  14.       tellTarget(_root)
  15.       {
  16.          gotoAndStop("gameover");
  17.       }
  18.    }
  19. }
  20.